package com.bt.table.ppt;

import java.sql.Timestamp;

import org.springframework.stereotype.Component;

import com.bt.mes.common.bean.entity.UUIDObject;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Announcement entity. @author MyEclipse Persistence Tools
 */

@Component
@XStreamAlias("table")
public class Announcement extends UUIDObject implements java.io.Serializable {

	// Fields

	private String announce_no;
	private String evt_usr;
	private Timestamp evt_timestamp;
	private String announce_text;

	// Constructors

	/** default constructor */
	public Announcement() {
	}

	/** minimal constructor */
	public Announcement(String announce_no, String evt_usr,
			Timestamp evt_timestamp) {
		this.announce_no = announce_no;
		this.evt_usr = evt_usr;
		this.evt_timestamp = evt_timestamp;
	}

	/** full constructor */
	public Announcement(String announce_no, String evt_usr,
			Timestamp evt_timestamp, String announce_text) {
		this.announce_no = announce_no;
		this.evt_usr = evt_usr;
		this.evt_timestamp = evt_timestamp;
		this.announce_text = announce_text;
	}

	// Property accessors

	public String getAnnounce_no() {
		return this.announce_no;
	}

	public void setAnnounce_no(String announce_no) {
		this.announce_no = announce_no;
	}

	public String getEvt_usr() {
		return this.evt_usr;
	}

	public void setEvt_usr(String evt_usr) {
		this.evt_usr = evt_usr;
	}

	public Timestamp getEvt_timestamp() {
		return this.evt_timestamp;
	}

	public void setEvt_timestamp(Timestamp evt_timestamp) {
		this.evt_timestamp = evt_timestamp;
	}

	public String getAnnounce_text() {
		return this.announce_text;
	}

	public void setAnnounce_text(String announce_text) {
		this.announce_text = announce_text;
	}

}